A Strategy for Generating Time-Predictable Code
نویسندگان
چکیده
Prohibiting external control is one of the key principles engineers apply when building time-predictable computer systems (e.g., time-triggered computer systems do not react to any external interrupts from sensors or devices, but all actions of these computer systems are triggered solely by the progression of the local clock). In this paper we apply this principle of prohibiting external control to code generation: The single-path code generator is a compiler that produces real-time code that does not contain any input-dependent control flow. All inputdependent control-flow dependencies are eliminated by if-conversion or by the generation of loops whose iteration counts are fixed. We explain the principle of operation of single-path code generation and illustrate how single-path code generation contributes to the time-predictable behavior of real-time computer systems.
منابع مشابه
Multilevel Input Ring-Tcm Coding Scheme: a Method for Generating High-Rate Codes
The capability of multilevel input ring-TCM coding scheme for generating high-rate codes with improved symbol Hamming and squared Euclidean distances is demonstrated. The existence of uniform codes and the decoder complexity are also considered.
متن کاملAlgorithms for Dependable Hard Real-Time Systems
Hard real-time code is special purpose code whose worst-case performance (worst-case execution time WCET) needs to be good and easy to predict. Despite these specific demands on the temporal properties of hard real-time code, real-time programmers often use the same algorithms and programming techniques that have proven effective for non real-time applications. This paper explains the different...
متن کاملDay-ahead Price Forecasting of Electricity Markets by a New Hybrid Forecast Method
Energy price forecast is the key information for generating companies to prepare their bids in the electricity markets. However, this forecasting problem is complex due to nonlinear, non-stationary, and time variant behavior of electricity price time series. Accordingly, in this paper a new strategy is proposed for electricity price forecast. The forecast strategy includes Wavelet Transform (WT...
متن کاملشبیهسازی ذرهای شتاب دادن الکترونها در پلاسمای کم چگال
One of the interesting Laser-Plasma phenomena, when the laser power is high and ultra intense, is the generation of large amplitude plasma waves (Wakefield) and electron acceleration. An intense electromagnetic laser pulse can create plasma oscillations through the action of the nonlinear pondermotive force. electrons trapped in the wake can be accelerated to high energies, more than 1 TW. Of t...
متن کاملMulti-Core Code Generation from Polychronous Programs with Time-Predictable Properties
Synchronous programming models capture concurrency in computation quite naturally, especially in its dataflow multi-clock (polychronous) flavor. With the rising importance of multi-core processors in safety-critical embedded systems or cyber-physical systems (CPS), there is a growing need for model-driven generation of multi-threaded code for multi-core systems. This paper proposes a build meth...
متن کامل